﻿<!doctype html>
<html lang="en">
<head>

  <meta charset="UTF-8">
  <title>Core Field</title>

  <script src="../platform/platform.js"></script>

  <link rel="import" href="core-field.html">

  <style>
    html {
      font-family: 'Helvetica Neue', 'Roboto', 'Arial', sans-serif;
      font-size: 14px;
    }
      
    core-field {
      border: 1px solid #ddd;
      margin: 10px;
      height: 40px;
    }

    div.icon {
      display: inline-block;
      width: 32px;
      height: 32px;
      background-repeat: no-repeat;
      background-image: url();
    }
  </style>

</head>
<body theme="core-light-theme" unresolved>

  <core-field>
    <div class="icon"></div>
    <input placeholder="hi!" flex>
  </core-field>

  <core-field>
    <div class="icon"></div>
    <input placeholder="Search" flex>
    <icon></icon>
  </core-field>

  <core-field>
    <div class="icon"></div>
    <label>I'm a label!</label>
    <input placeholder="I have a label" flex>
  </core-field>

  <core-field>
    <input placeholder="I have no icon" flex>
  </core-field>

</body>
</html>
